package cn.fan.utils;

public class Common {
    public static float avg(float[] mas){
        float maSum=0;
        for(int i=0;i<mas.length;i++){
            maSum += mas[i];
        }
        float avg=maSum/mas.length;
        return avg;
    }
}
